package jason.service;

import com.jason.entities.JsonData;
import com.jason.entities.Payment;
import org.springframework.stereotype.Component;

@Component
public class PaymentFallBackService implements PaymentService{
    @Override
    public JsonData paymentSql(Long id) {
        return new JsonData(444,"服务降级",new Payment(id,"null"));
    }
}
